﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sispe.Entities;
using Sispe.Repository;
using Microsoft.Practices.Unity;

namespace Sispe.BussinesLogic
{
    public class FotoBL:IFotoBL
    {
        [Dependency]
        public IFotoRepository fotoDAO { get; set; }

        public FOTO GetAllFotoById(int id)
        {
            return fotoDAO.GetAllFotoById(id);
        }
    }
}
